package com.xbn.xbnmall.product.feign;

import com.xbn.common.to.SkuReductionTo;
import com.xbn.common.to.SpuBoundsTo;
import com.xbn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author XBN
 * @date 2020/7/14 13:56
 * @email 78742541@qq.com
 */
/*
* 优惠券远程调用模块
* */
@FeignClient("xbnmall-coupon")
public interface CouponFeignService {
    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundsTo spuBoundsTo);
    @PostMapping("/coupon/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
